package com.efeichong.project.domain.vo;

import com.efeichong.common.domain.BaseEntity;
import com.efeichong.mapping.Mapping;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author
 * @date 2020/12/06
 * @description 数据字典详细
 */
@Setter
@Getter
@ApiModel("数据字典详细")
public class SysDictDetailVo extends BaseEntity {

    @ApiModelProperty(value = "字典标签")
    private String label;

    @ApiModelProperty(value = "字典键值")
    private Integer value;

    @ApiModelProperty(value = "字典类型")
    private String type;

    @ApiModelProperty(value = "字典排序")
    private Integer sort;

    @ApiModelProperty(value = "是否默认（1是 0否）")
    private Integer isDefault;

    @ApiModelProperty(value = "备注")
    private String remark;

    @Mapping(poProperty = "dict.id")
    @ApiModelProperty(value = "字典id")
    private Long dictId;
}
